using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_SPELLDAMAGESHIELD_DEF : DefinitionBase
    {
        
        public override bool Process()
        {
            ResetPosition();
            UInt64 guid = ReadUInt64();
            UInt64 attackerguid = ReadUInt64();
            UInt32 m_spellId = ReadUInt32(); // DS: Changed for 2.4.0.
            UInt32 m_damage = ReadUInt32();
            if (ClientBuild >= 9551)
            {
                UInt32 overkill = ReadUInt32();
            }
            UInt32 m_school = ReadUInt32();
            return Validate();
        }
    }
}

